<%--
  Created by IntelliJ IDEA.
  User: Chinonuo
  Date: 2019/4/13
  Time: 19:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <meta charset="UTF-8">
    <title>行云</title>

    <link href="css/style.css" rel='stylesheet' type='text/css' media="all" />
</head>
<body>
<script type="text/javascript">
</script>
<h1>行云</h1>
<div class="form-w3ls">
    <ul class="tab-group cl-effect-4">
        <li class="tab active"><a href="#signin-agile">登录</a></li>
        <li class="tab"><a href="#signup-agile">注册</a></li>
    </ul>
    <div class="tab-content">
        <div id="signin-agile">
            <form action="${pageContext.request.contextPath}/user?method=login" method="post">
                <p class="header">用户名</p>
                <input type="text" name="userName"  onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}">
                <p class="header">密码</p>
                <input type="password" name="passWord"  onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}">
                <input type="submit" class="sign-in" value="登录">
            </form>
        </div>
        <div id="signup-agile">
            <form action="${pageContext.request.contextPath}/user?method=register" method="post">
                <font><center>${msg}</center></font>
                <p class="header" >用户名(登录名)</p>
                <input id="username" type="text" name="userName" value="" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}">

                <p class="header">密码</p>
                <input id="password" type="passWord" name="passWord" value="" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}">

                <input type="submit" class="register" value="注册" />
            </form>
        </div>
    </div>
</div>
<p class="copyright">© 2018-2019 czxy-java78-技术顾问团</p>
<script src='js/jquery.min.js'></script>
<script src="js/index.js"></script>
<script type="text/javascript">
</script>
</body>
</html>